package com.liu.resolver;


import com.liu.agreement.Agreement;
import com.liu.message.MessageTypeEnum;

/**
 * 接收到的消息解析
 * @param
 * @BelongsProject: MessageQueueDEMO
 * @BelongsPackage: com.liu.producer.resolver
 * @author: L
 * @Date: 2023/10/15 4:34
 * @return
 */
public interface Resolver {

    boolean support(MessageTypeEnum messageTypeEnum);


    Object resolve(Agreement message);

}
